package com.dcy.znoa.service.estate;

import com.aliyuncs.exceptions.ClientException;
import com.baomidou.mybatisplus.service.IService;
import com.dcy.znoa.common.exception.BusinessException;
import com.dcy.znoa.common.util.pojo.JsonForList;
import com.dcy.znoa.controller.estate.model.notice.SelectEstateNoticeModel;
import com.dcy.znoa.domain.estate.EstateNotice;

import java.lang.reflect.InvocationTargetException;

/**
 * <p>
 * 物业通知： 服务类
 * </p>
 *
 * @author cook
 * @since 2018-05-21
 */
public interface EstateNoticeService extends IService<EstateNotice> {

    JsonForList selectList(SelectEstateNoticeModel model) throws InvocationTargetException, IllegalAccessException;

    boolean add(EstateNotice cp) throws BusinessException, IllegalAccessException, ClientException, InvocationTargetException;

    boolean delById(Long esnoId) throws BusinessException;
}
